package xiangmu2;

public class Chick {

	private int chicknumber;
	private int life;
	public Chick() {
		
	}
	public Chick(int chicknumber, int life) {
		
		this.chicknumber = chicknumber;
		this.life = life;
	}
	public int getChicknumber() {
		return chicknumber;
	}
	public int getLife() {
		return life;
	}
	public void setChicknumber(int chicknumber) {
		this.chicknumber = chicknumber;
	}
	public void setLife(int life) {
		this.life = life;
	}
	@Override
	public String toString() {
		return "Chick [chicknumber=" + chicknumber + ", life=" + life + "]\n";
	}
	
	
	
	
	
}
